Skip to content

Rework and fix smoke test for browser tabs #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

krishpdev
Copy link

Relevant Links

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1976537
TestRail: 134455

Description of Code / Doc Changes

Leave a bullet-pointed list of changes you made.

Created a test to ensure that middle clicking or pressing control/command and clicking a hyperlink
will correctly create a new background tab. Selenium does not directly support
middle clicking so I used the pynput library to simulate middle clicking. The test
will dynamically determine the location of the hyperlink element so the mouse will correctly
over it before initiating a middle click.

Added control click and middle click functions to page_base.py

Process Changes Required

Mark the relevant boxes:

  • Adds a dependency (rerun pipenv install)
  • Changes the BasePage
  • Changes or creates a BOM/POM (name the object model): _
  • Changes CI flow
  • Changes scheduled Beta or DevEdition
  • Changes Git hooks or Github settings
  • Changes L10n harness

Screenshots or Explanations

If you need to explain your code, do it here.

Comments or Future Work

Do we need to start another PR soon to address something you saw while working on this?

Workflow Checklist

  • Please request reviewers
  • If this is an unblocker, please post in Slack.
  • If asked to address comments, please resolve conversations.
  • If asked to change code, please re-request review from the person who wanted changes.

Thank you!

@krishpdev krishpdev closed this Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant